package cn.sjx.org.mapper;

import cn.sjx.basic.mapper.BasicMapper;
import cn.sjx.org.domain.Department;
import cn.sjx.org.domain.Employee;
import cn.sjx.org.domain.EmployeeRoleDTO;
import cn.sjx.org.query.DepartmentQuery;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

@Component
public interface EmployeeMapper extends BasicMapper<Employee> {



    Employee loadByUsername(String username);

    void setRole(EmployeeRoleDTO employeeRoleDTO);

    void deleteRoleById(Long id);
}
